package com.example.spring_mybatis.mapper_blog;

import com.example.spring_mybatis.model_blog.PersonInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 九转苍翎
 * Date: 2025/10/13
 * Time: 16:39
 */
@Mapper
public interface BlogXMLMapper {

    List<PersonInfo> getPersonInfoAll();

    Integer addPersonInfo(PersonInfo personInfo);

    List<PersonInfo> getPersonInfoByNameAndAge(String name,Integer age);

    Integer updatePersonInfo(PersonInfo personInfo);

    List<PersonInfo> getPersonInfoById(List<Integer> ids);
}
